//
//  Default.h
//  iHeima
//
//  Created by he chao on 5/22/14.
//  Copyright (c) 2014 leon. All rights reserved.
//

#ifndef iHeima_Default_h
#define iHeima_Default_h

#import "AvatarView.h"
#import "BaseLabel.h"
#import "BaseButton.h"


#define  NETWORK_ERROR {\
[BeeUIAlertView showMessage:@"网络不给力，请检查网络" cancelTitle:@"确定"];\
}


#define kBaseUrl @"http://api.iheima.com"

//#define kBaseUrl @"http://api1.iheima.com"




#define kPicUrl @"http://u.iheima.com/"
//#define kPicUrl @"http://u1.iheima.com/"


#define kStoreUrl @"http://api.iheima.com"

#define kUserInfo [[[NSUserDefaults standardUserDefaults] valueForKey:@"userInfo"] mutableObjectFromJSONString]

#define kTipLoading [[BeeUITipsCenter sharedInstance] presentLoadingTips:@"正在加载"];

#define FONT(_SIZE) [UIFont systemFontOfSize:_SIZE]
#define BOLDFONT(_SIZE) [UIFont boldSystemFontOfSize:_SIZE]
#define IMAGESTRING(_STRING) [UIImage imageFromString:_STRING]

#define kNormalColor RGB(83,83,83)
#define kBlueColor RGB(18,125,242)

#endif
